package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Auther Bennie
 * @Date 2020/6/19 17:47
 * @Description
 */
@Data
@Accessors(chain = true)
@TableName(value = "d_physicalzones")
public class PhysicalZones {

    @JSONField(name = "Id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long id;

    @JSONField(name = "Enabled")
    @TableField(value = "Enabled")
    private Integer enabled;

    @JSONField(name = "MallId")
    @TableField(value = "MallId")
    private String mallId;


    @JSONField(name = "Name")
    @TableField(value = "Name")
    private String name;

    @JSONField(name = "UpdateTime")
    @TableField(value = "UpdateTime")
    private LocalDateTime updateTime;

    @JSONField(name = "UpdateUser")
    @TableField(value = "UpdateUser")
    private String updateUser;

    @JSONField(name = "ZoneTypeId")
    @TableField(value = "ZoneTypeId")
    private String zoneTypeId;

    @JSONField(name = "ZoneTypeName")
    @TableField(value = "ZoneTypeName")
    private String zoneTypeName;


    @JSONField(name = "Ranked")
    @TableField(value = "Ranked")
    private Integer ranked;

    @JSONField(name = "HeatMapUrl")
    @TableField(value = "HeatMapUrl")
    private String heatMapUrl;


//    @JSONField(name = "MallName")
//    @TableField(exist = false)
//    private String mallName;

//    @JSONField(name = "Devices")
//    @javax.persistence.Transient
//    private devices List<Integer>;


//    @JSONField(name = "Reverse")
//    @TableField(exist = false)
//    private Integer reverse;



}
